projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace1573
)
Fall back to prompting user if eglot-alternatives fails
author
João Távora
<joaotavora@gmail.com>
Tue, 17 Aug 2021 09:12:27 +0000
(10:12 +0100)
committer
João Távora
<joaotavora@gmail.com>
Tue, 17 Aug 2021 09:12:27 +0000
(10:12 +0100)
* eglot.el (eglot-alternatives): Don't error in interactive case.
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/719
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 71f7d7ea597ee70e9913cfff82d04e7c8209c9a0..4667526c371836b0dfb2fb758998591f30224e81 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-129,7
+129,10
@@
chosen (interactively or automatically)."
nil t nil nil (car (car available)))
available #'equal)))
((cdr (car available)))
- (t (funcall err)))))
+ (t
+ ;; Don't error when used interactively, let the
+ ;; Eglot prompt the user for alternative (github#719)
+ nil))))
(t
(cl-loop for (p . args) in listified
for probe = (eglot--executable-find p t)